package com.tedu.udm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tedu.udm.pojo.entity.Permission;
import com.tedu.udm.pojo.entity.UserRole;
import com.tedu.udm.pojo.entity.UserTeam;
import com.tedu.udm.pojo.vo.TeamListItemVO;
import com.tedu.udm.pojo.vo.UserTeamListVO;
import org.springframework.stereotype.Repository;

import java.util.Collection;
import java.util.List;

@Repository   //告诉容器你是持久层的 @Repository是spring提供的注释，能够将该类注册成Bean
public interface UserTeamMapper extends BaseMapper<UserTeam> {
    List<UserTeamListVO> listByClassId(Long classId);
    Integer insertBatchSomeColumn(Collection<UserTeam> entityList);
}
